package com.xaicode.auth.config.sensitive;

import com.xaicode.auth.security.LoginUtil;
import org.springframework.stereotype.Service;

@Service
public class SysSensitiveServiceImpl implements SensitiveService {

    @Override
    public boolean isSensitive() {
        return !LoginUtil.isAdminLogin();
    }

}
